﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Management.Systeam.Domaina
{
    public class Role : BaseEntity
    {
        //自增
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]//数据库是自增才配自增 
        public int? Role_Id { get; set; }

        /// <summary>
        /// 角色名称
        /// </summary>
        public string? Role_Code { get; set; }
        public string? Role_Name { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime? Role_CreateTime { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string? Role_Content { get; set; }
        /// <summary>
        /// 是否删除
        /// </summary>
        public bool? Role_IsDel { get; set; }
        public int? Rid { get; set; }

    }
}
